<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>图片拖动验证</title>
    <link rel="stylesheet" type="text/css" href="css/index.css" />
</head>

<body>
    <div class="change-img">
        <span>图片不好看? &nbsp; 下一张!</span>
    </div>
</body>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
    init();
    var sxbtn = document.querySelector(".change-img");
    sxbtn.onclick = function () {
        location.reload();
    }
</script>

</html>